package org.csu.molediary.api.service;

import org.csu.molediary.api.common.CommonResponse;
import org.csu.molediary.api.entity.Commentinfo;
import org.csu.molediary.api.entity.Good;
import org.csu.molediary.api.vo.GoodVo;

import java.util.List;

public interface GoodService {

    //存储一条点赞信息
    CommonResponse<Good> saveGood(Good good);

    //获得某用户被点赞信息
    CommonResponse<List<GoodVo>> queryGoodByGooded(String Gooded);

    //获得某用户点赞信息
    CommonResponse<List<Good>> queryGoodByGoodOne(String Goodone);
}
